#ecoding: utf-8 -*-

from quixote import get_request, get_response, redirect, get_cookie, get_session,get_session_manager
from pynixweb.template.template import render_template
from pynixweb.controllers.controller import PynixWebController
from mysqldemo.models import *

class IndexController(PynixWebController):
    
    def index(self):
        users = User.list()
        return render_template("mysqldemo/index.html", locals())